package springboot.bigdata.demo.dao;

import springboot.bigdata.demo.model.UserExpense;

import java.util.List;

public interface UserExpenseDao {

    UserExpense addUserExpense(UserExpense userExpense);

    /**
     * 批量录入，0db0, 1db1
     * @param userExpenseList
     * @param dbType
     * @return
     */
    int addList(List<UserExpense> userExpenseList, int dbType);

}
